package com.psds.quartz;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class QuartzLogEntityExample {

    protected Integer start;

    protected Integer end;

    public Integer getStart() {
        return start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public Integer getEnd() {
        return end;
    }

    public void setEnd(Integer end) {
        this.end = end;
    }

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table t_quartz_log
     *
     * @mbggenerated Thu Sep 01 11:47:31 CST 2016
     */
    protected String orderByClause;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table t_quartz_log
     *
     * @mbggenerated Thu Sep 01 11:47:31 CST 2016
     */
    protected boolean distinct;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table t_quartz_log
     *
     * @mbggenerated Thu Sep 01 11:47:31 CST 2016
     */
    protected List<Criteria> oredCriteria;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_quartz_log
     *
     * @mbggenerated Thu Sep 01 11:47:31 CST 2016
     */
    public QuartzLogEntityExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_quartz_log
     *
     * @mbggenerated Thu Sep 01 11:47:31 CST 2016
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_quartz_log
     *
     * @mbggenerated Thu Sep 01 11:47:31 CST 2016
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_quartz_log
     *
     * @mbggenerated Thu Sep 01 11:47:31 CST 2016
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_quartz_log
     *
     * @mbggenerated Thu Sep 01 11:47:31 CST 2016
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_quartz_log
     *
     * @mbggenerated Thu Sep 01 11:47:31 CST 2016
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_quartz_log
     *
     * @mbggenerated Thu Sep 01 11:47:31 CST 2016
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_quartz_log
     *
     * @mbggenerated Thu Sep 01 11:47:31 CST 2016
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_quartz_log
     *
     * @mbggenerated Thu Sep 01 11:47:31 CST 2016
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_quartz_log
     *
     * @mbggenerated Thu Sep 01 11:47:31 CST 2016
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_quartz_log
     *
     * @mbggenerated Thu Sep 01 11:47:31 CST 2016
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table t_quartz_log
     *
     * @mbggenerated Thu Sep 01 11:47:31 CST 2016
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andLogTasknameIsNull() {
            addCriterion("log_taskname is null");
            return (Criteria) this;
        }

        public Criteria andLogTasknameIsNotNull() {
            addCriterion("log_taskname is not null");
            return (Criteria) this;
        }

        public Criteria andLogTasknameEqualTo(String value) {
            addCriterion("log_taskname =", value, "logTaskname");
            return (Criteria) this;
        }

        public Criteria andLogTasknameNotEqualTo(String value) {
            addCriterion("log_taskname <>", value, "logTaskname");
            return (Criteria) this;
        }

        public Criteria andLogTasknameGreaterThan(String value) {
            addCriterion("log_taskname >", value, "logTaskname");
            return (Criteria) this;
        }

        public Criteria andLogTasknameGreaterThanOrEqualTo(String value) {
            addCriterion("log_taskname >=", value, "logTaskname");
            return (Criteria) this;
        }

        public Criteria andLogTasknameLessThan(String value) {
            addCriterion("log_taskname <", value, "logTaskname");
            return (Criteria) this;
        }

        public Criteria andLogTasknameLessThanOrEqualTo(String value) {
            addCriterion("log_taskname <=", value, "logTaskname");
            return (Criteria) this;
        }

        public Criteria andLogTasknameLike(String value) {
            addCriterion("log_taskname like", value, "logTaskname");
            return (Criteria) this;
        }

        public Criteria andLogTasknameNotLike(String value) {
            addCriterion("log_taskname not like", value, "logTaskname");
            return (Criteria) this;
        }

        public Criteria andLogTasknameIn(List<String> values) {
            addCriterion("log_taskname in", values, "logTaskname");
            return (Criteria) this;
        }

        public Criteria andLogTasknameNotIn(List<String> values) {
            addCriterion("log_taskname not in", values, "logTaskname");
            return (Criteria) this;
        }

        public Criteria andLogTasknameBetween(String value1, String value2) {
            addCriterion("log_taskname between", value1, value2, "logTaskname");
            return (Criteria) this;
        }

        public Criteria andLogTasknameNotBetween(String value1, String value2) {
            addCriterion("log_taskname not between", value1, value2, "logTaskname");
            return (Criteria) this;
        }

        public Criteria andLogExectimeIsNull() {
            addCriterion("log_exectime is null");
            return (Criteria) this;
        }

        public Criteria andLogExectimeIsNotNull() {
            addCriterion("log_exectime is not null");
            return (Criteria) this;
        }

        public Criteria andLogExectimeEqualTo(Date value) {
            addCriterion("log_exectime =", value, "logExectime");
            return (Criteria) this;
        }

        public Criteria andLogExectimeNotEqualTo(Date value) {
            addCriterion("log_exectime <>", value, "logExectime");
            return (Criteria) this;
        }

        public Criteria andLogExectimeGreaterThan(Date value) {
            addCriterion("log_exectime >", value, "logExectime");
            return (Criteria) this;
        }

        public Criteria andLogExectimeGreaterThanOrEqualTo(Date value) {
            addCriterion("log_exectime >=", value, "logExectime");
            return (Criteria) this;
        }

        public Criteria andLogExectimeLessThan(Date value) {
            addCriterion("log_exectime <", value, "logExectime");
            return (Criteria) this;
        }

        public Criteria andLogExectimeLessThanOrEqualTo(Date value) {
            addCriterion("log_exectime <=", value, "logExectime");
            return (Criteria) this;
        }

        public Criteria andLogExectimeIn(List<Date> values) {
            addCriterion("log_exectime in", values, "logExectime");
            return (Criteria) this;
        }

        public Criteria andLogExectimeNotIn(List<Date> values) {
            addCriterion("log_exectime not in", values, "logExectime");
            return (Criteria) this;
        }

        public Criteria andLogExectimeBetween(Date value1, Date value2) {
            addCriterion("log_exectime between", value1, value2, "logExectime");
            return (Criteria) this;
        }

        public Criteria andLogExectimeNotBetween(Date value1, Date value2) {
            addCriterion("log_exectime not between", value1, value2, "logExectime");
            return (Criteria) this;
        }

        public Criteria andLogExectypeIsNull() {
            addCriterion("log_exectype is null");
            return (Criteria) this;
        }

        public Criteria andLogExectypeIsNotNull() {
            addCriterion("log_exectype is not null");
            return (Criteria) this;
        }

        public Criteria andLogExectypeEqualTo(String value) {
            addCriterion("log_exectype =", value, "logExectype");
            return (Criteria) this;
        }

        public Criteria andLogExectypeNotEqualTo(String value) {
            addCriterion("log_exectype <>", value, "logExectype");
            return (Criteria) this;
        }

        public Criteria andLogExectypeGreaterThan(String value) {
            addCriterion("log_exectype >", value, "logExectype");
            return (Criteria) this;
        }

        public Criteria andLogExectypeGreaterThanOrEqualTo(String value) {
            addCriterion("log_exectype >=", value, "logExectype");
            return (Criteria) this;
        }

        public Criteria andLogExectypeLessThan(String value) {
            addCriterion("log_exectype <", value, "logExectype");
            return (Criteria) this;
        }

        public Criteria andLogExectypeLessThanOrEqualTo(String value) {
            addCriterion("log_exectype <=", value, "logExectype");
            return (Criteria) this;
        }

        public Criteria andLogExectypeLike(String value) {
            addCriterion("log_exectype like", value, "logExectype");
            return (Criteria) this;
        }

        public Criteria andLogExectypeNotLike(String value) {
            addCriterion("log_exectype not like", value, "logExectype");
            return (Criteria) this;
        }

        public Criteria andLogExectypeIn(List<String> values) {
            addCriterion("log_exectype in", values, "logExectype");
            return (Criteria) this;
        }

        public Criteria andLogExectypeNotIn(List<String> values) {
            addCriterion("log_exectype not in", values, "logExectype");
            return (Criteria) this;
        }

        public Criteria andLogExectypeBetween(String value1, String value2) {
            addCriterion("log_exectype between", value1, value2, "logExectype");
            return (Criteria) this;
        }

        public Criteria andLogExectypeNotBetween(String value1, String value2) {
            addCriterion("log_exectype not between", value1, value2, "logExectype");
            return (Criteria) this;
        }

        public Criteria andLogExecresultIsNull() {
            addCriterion("log_execresult is null");
            return (Criteria) this;
        }

        public Criteria andLogExecresultIsNotNull() {
            addCriterion("log_execresult is not null");
            return (Criteria) this;
        }

        public Criteria andLogExecresultEqualTo(String value) {
            addCriterion("log_execresult =", value, "logExecresult");
            return (Criteria) this;
        }

        public Criteria andLogExecresultNotEqualTo(String value) {
            addCriterion("log_execresult <>", value, "logExecresult");
            return (Criteria) this;
        }

        public Criteria andLogExecresultGreaterThan(String value) {
            addCriterion("log_execresult >", value, "logExecresult");
            return (Criteria) this;
        }

        public Criteria andLogExecresultGreaterThanOrEqualTo(String value) {
            addCriterion("log_execresult >=", value, "logExecresult");
            return (Criteria) this;
        }

        public Criteria andLogExecresultLessThan(String value) {
            addCriterion("log_execresult <", value, "logExecresult");
            return (Criteria) this;
        }

        public Criteria andLogExecresultLessThanOrEqualTo(String value) {
            addCriterion("log_execresult <=", value, "logExecresult");
            return (Criteria) this;
        }

        public Criteria andLogExecresultLike(String value) {
            addCriterion("log_execresult like", value, "logExecresult");
            return (Criteria) this;
        }

        public Criteria andLogExecresultNotLike(String value) {
            addCriterion("log_execresult not like", value, "logExecresult");
            return (Criteria) this;
        }

        public Criteria andLogExecresultIn(List<String> values) {
            addCriterion("log_execresult in", values, "logExecresult");
            return (Criteria) this;
        }

        public Criteria andLogExecresultNotIn(List<String> values) {
            addCriterion("log_execresult not in", values, "logExecresult");
            return (Criteria) this;
        }

        public Criteria andLogExecresultBetween(String value1, String value2) {
            addCriterion("log_execresult between", value1, value2, "logExecresult");
            return (Criteria) this;
        }

        public Criteria andLogExecresultNotBetween(String value1, String value2) {
            addCriterion("log_execresult not between", value1, value2, "logExecresult");
            return (Criteria) this;
        }

        public Criteria andLogExecmsgIsNull() {
            addCriterion("log_execmsg is null");
            return (Criteria) this;
        }

        public Criteria andLogExecmsgIsNotNull() {
            addCriterion("log_execmsg is not null");
            return (Criteria) this;
        }

        public Criteria andLogExecmsgEqualTo(String value) {
            addCriterion("log_execmsg =", value, "logExecmsg");
            return (Criteria) this;
        }

        public Criteria andLogExecmsgNotEqualTo(String value) {
            addCriterion("log_execmsg <>", value, "logExecmsg");
            return (Criteria) this;
        }

        public Criteria andLogExecmsgGreaterThan(String value) {
            addCriterion("log_execmsg >", value, "logExecmsg");
            return (Criteria) this;
        }

        public Criteria andLogExecmsgGreaterThanOrEqualTo(String value) {
            addCriterion("log_execmsg >=", value, "logExecmsg");
            return (Criteria) this;
        }

        public Criteria andLogExecmsgLessThan(String value) {
            addCriterion("log_execmsg <", value, "logExecmsg");
            return (Criteria) this;
        }

        public Criteria andLogExecmsgLessThanOrEqualTo(String value) {
            addCriterion("log_execmsg <=", value, "logExecmsg");
            return (Criteria) this;
        }

        public Criteria andLogExecmsgLike(String value) {
            addCriterion("log_execmsg like", value, "logExecmsg");
            return (Criteria) this;
        }

        public Criteria andLogExecmsgNotLike(String value) {
            addCriterion("log_execmsg not like", value, "logExecmsg");
            return (Criteria) this;
        }

        public Criteria andLogExecmsgIn(List<String> values) {
            addCriterion("log_execmsg in", values, "logExecmsg");
            return (Criteria) this;
        }

        public Criteria andLogExecmsgNotIn(List<String> values) {
            addCriterion("log_execmsg not in", values, "logExecmsg");
            return (Criteria) this;
        }

        public Criteria andLogExecmsgBetween(String value1, String value2) {
            addCriterion("log_execmsg between", value1, value2, "logExecmsg");
            return (Criteria) this;
        }

        public Criteria andLogExecmsgNotBetween(String value1, String value2) {
            addCriterion("log_execmsg not between", value1, value2, "logExecmsg");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table t_quartz_log
     *
     * @mbggenerated do_not_delete_during_merge Thu Sep 01 11:47:31 CST 2016
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table t_quartz_log
     *
     * @mbggenerated Thu Sep 01 11:47:31 CST 2016
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}